package com.example.car.entity;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

@Data
@Document("router_role")
public class RouterRole {

    @Id
    private String id;

    @Field("router_id")
    private String routerId;

    @Field("role_id")
    private String roleId;

}
